package com.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.server.entity.UcenterUserTreePath;
import com.server.util.Result;
import com.server.vo.user.UserTreeVo;

import java.util.List;

/**
 * <p>
 * 用户推荐服务类
 * </p>
 *
 * @author
 * @since 2020-04-03
 */
public interface IUcenterUserTreePathService extends IService<UcenterUserTreePath> {


    /**
     * 根据id查询下级
     * @param userId
     * @return
     */
    Result<List<UserTreeVo>> getListByUserId(Integer userId);
}
